package com.lzx.iteam.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * **********************************
 * User: zhangshuai
 * Date: 2016年 04月 14日
 * Time: 下午5:35
 *
 * @QQ : 1234567890
 * **********************************
 */
public class ApprovalData implements Serializable {

            /*
            "user_id":                  381710,       // int，发起人user_id
            "user_name":               'xxx',        // string, 发起人名字
            "user_image":              'xxx',        // string, 发起人头像

            "approval_group_id":        2093,         // int，团队id
            "approval_form_id":         null,         // bson object, 考勤模板id
            "approval_type":            1,            // int,   申请类型, 1.出差，2.请假，3.外出，4.签到
            "approval_leave_type":      0,            // int,   请假类型 0.事假，1.病假，2.年假，3.婚假，4.产假,
            "approval_address":         "xxx",        // string, 地址
            "approval_start_time":      "xxx",        // string, 时间戳
            "approval_end_time":        "xxx",        // string, 时间戳
            "approval_start_part":      1,            // int,   时间段，1.上午，2.下午
            "approval_end_part":        1,            // int,   同上
            "approval_day":             1.5,          // float, 出差天数,最少0.5天(半天)
            "approval_hour":            15,           // int,   小时
            "approval_reason":          "xxx",        // string,理由

            "approve_admin":            381709,       // int,   审批人
            "approve_admin_name":       'xxx',        // string,   审批人名字
            "approve_admin_image":      'xxxx',       // string,   审批人头像

            "approval_done_time":       16273897,     // int,   审批时间戳
            "approval_time":            16273897,     // int,   创建时间戳
            "approval_status":          1,            // int,   状态 1.通过，0.等待，2.未通过
            "refuse_reason":            'xx',         // stirng, 拒绝理由
            "approval_del":             1,            // int,   发起人是否删除，1.已删除，0或不存在则未删除
            "approval_admin_del":       1             // int,   管理员是否删除，1.已删除，0或不存在则未删除
            "approval_cancel":          1             // int, 是否是待撤销状态, 0 否(撤销申请通过后的状态, 非撤销操作无此字段),1.是.
            "approval_cancel_reason":   "xx"          // string ,撤销的理由
            "approval_cancel_time":      1,            // int, 发起撤销的时间
            "approval_cancel_done_time": 1             // int, 撤销处理的时间
            */
    private String user_id;
    private String user_name;
    private String user_image;

    private String approval_id;
    private String approval_group_id;
    private int approval_type;
    private int approval_leave_type;
    private String approval_address;
    private String approval_start_time;
    private String approval_end_time;
    private int approval_start_part;
    private int approval_end_part;
    private float approval_day;
    private int approval_hour;
    private String approval_reason;
    private int year;
    private int month;

    private String approve_admin;
    private String approve_admin_name;
    private String approve_admin_image;

    private String approval_done_time;
    private String approval_time;
    private int approval_status;
    private String approval_refuse_reason;
    private int approval_cancel;
    private String approval_cancel_reason;
    private String approval_cancel_time;
    private String approval_cancel_done_time;

    private String approval_dates;

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_image() {
        return user_image;
    }

    public void setUser_image(String user_image) {
        this.user_image = user_image;
    }

    public String getApproval_group_id() {
        return approval_group_id;
    }

    public void setApproval_group_id(String approval_group_id) {
        this.approval_group_id = approval_group_id;
    }


    public int getApproval_type() {
        return approval_type;
    }

    public void setApproval_type(int approval_type) {
        this.approval_type = approval_type;
    }

    public int getApproval_leave_type() {
        return approval_leave_type;
    }

    public void setApproval_leave_type(int approval_leave_type) {
        this.approval_leave_type = approval_leave_type;
    }

    public String getApproval_address() {
        return approval_address;
    }

    public void setApproval_address(String approval_address) {
        this.approval_address = approval_address;
    }


    public int getApproval_start_part() {
        return approval_start_part;
    }

    public void setApproval_start_part(int approval_start_part) {
        this.approval_start_part = approval_start_part;
    }

    public int getApproval_end_part() {
        return approval_end_part;
    }

    public void setApproval_end_part(int approval_end_part) {
        this.approval_end_part = approval_end_part;
    }

    public float getApproval_day() {
        return approval_day;
    }

    public void setApproval_day(float approval_day) {
        this.approval_day = approval_day;
    }

    public int getApproval_hour() {
        return approval_hour;
    }

    public void setApproval_hour(int approval_hour) {
        this.approval_hour = approval_hour;
    }

    public String getApproval_reason() {
        return approval_reason;
    }

    public void setApproval_reason(String approval_reason) {
        this.approval_reason = approval_reason;
    }

    public String getApprove_admin() {
        return approve_admin;
    }

    public void setApprove_admin(String approve_admin) {
        this.approve_admin = approve_admin;
    }

    public String getApprove_admin_name() {
        return approve_admin_name;
    }

    public void setApprove_admin_name(String approve_admin_name) {
        this.approve_admin_name = approve_admin_name;
    }

    public String getApprove_admin_image() {
        return approve_admin_image;
    }

    public void setApprove_admin_image(String approve_admin_image) {
        this.approve_admin_image = approve_admin_image;
    }


    public int getApproval_status() {
        return approval_status;
    }

    public void setApproval_status(int approval_status) {
        this.approval_status = approval_status;
    }

    public String getApproval_id() {
        return approval_id;
    }

    public void setApproval_id(String approval_id) {

        this.approval_id = approval_id;
    }

    public String getApproval_start_time() {
        return approval_start_time;
    }

    public void setApproval_start_time(String approval_start_time) {
        this.approval_start_time = approval_start_time;
    }

    public String getApproval_end_time() {
        return approval_end_time;
    }

    public void setApproval_end_time(String approval_end_time) {
        this.approval_end_time = approval_end_time;
    }

    public String getApproval_done_time() {
        return approval_done_time;
    }

    public void setApproval_done_time(String approval_done_time) {
        this.approval_done_time = approval_done_time;
    }

    public String getApproval_time() {
        return approval_time;
    }

    public void setApproval_time(String approval_time) {
        this.approval_time = approval_time;
    }

    public String getApproval_refuse_reason() {
        return approval_refuse_reason;
    }

    public void setApproval_refuse_reason(String approval_refuse_reason) {
        this.approval_refuse_reason = approval_refuse_reason;
    }

    public int getApproval_cancel() {
        return approval_cancel;
    }

    public void setApproval_cancel(int approval_cancel) {
        this.approval_cancel = approval_cancel;
    }

    public String getApproval_cancel_reason() {
        return approval_cancel_reason;
    }

    public void setApproval_cancel_reason(String approval_cancel_reason) {
        this.approval_cancel_reason = approval_cancel_reason;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public String getApproval_cancel_time() {
        return approval_cancel_time;
    }

    public void setApproval_cancel_time(String approval_cancel_time) {
        this.approval_cancel_time = approval_cancel_time;
    }

    public String getApproval_cancel_done_time() {
        return approval_cancel_done_time;
    }

    public void setApproval_cancel_done_time(String approval_cancel_done_time) {
        this.approval_cancel_done_time = approval_cancel_done_time;
    }

    public String getApproval_dates() {
        return approval_dates;
    }

    public void setApproval_dates(String approval_dates) {
        this.approval_dates = approval_dates;
    }
}
